<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2022-04-28
  Time: 9:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <table>
        <tr>
            <th>工号</th>
            <th>姓名</th>
        </tr>

        <c:forEach var="emp" items="${emps}">
            <tr>
                <td>${emp.id}</td>
                <td>${emp.name}</td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
